// 设置localStroage数据
export function setStorage(key, val) {
    localStorage.setItem(key, JSON.stringify(val))
}
// 获取localStorage数据
export function getStorage(key) {
    return JSON.parse(localStorage.getItem(key))
}